package com.grupobbva.iici.entity;

import com.ibm.ws.ejbpersistence.beanextensions.*;
import com.ibm.websphere.cpmi.*;
import com.grupobbva.iici.entity.websphere_deploy.Tiici_logBeanCacheEntry_0aa0d06a;

/**
 * Bean implementation class for Enterprise Bean: Tiici_log
 */
public class ConcreteTiici_log_0aa0d06a extends com.grupobbva.iici.entity.Tiici_logBean implements javax.ejb.EntityBean, ConcreteBean {
	/**
	 * setEntityContext
	 */
	public void setEntityContext(javax.ejb.EntityContext ctx) {
		super.setEntityContext(ctx);
		instanceExtension.setEntityContext(ctx);
	}
	/**
	 * unsetEntityContext
	 */
	public void unsetEntityContext() {
		super.unsetEntityContext();
		instanceExtension.unsetEntityContext();
	}
	/**
	 * ejbActivate
	 */
	public void ejbActivate() {
			super.ejbActivate();
			instanceExtension.ejbActivate();
	}
	/**
	 * ejbLoad
	 */
	public void ejbLoad() {
		instanceExtension.ejbLoad();
	}
	/**
	 * ejbPassivate
	 */
	public void ejbPassivate() {
		super.ejbPassivate();
		instanceExtension.ejbPassivate();
	}
	/**
	 * ejbRemove
	 */
	public void ejbRemove() throws javax.ejb.RemoveException {
		super.ejbRemove();
		instanceExtension.ejbRemove();
	}
	/**
	 * ejbStore
	 */
	public void ejbStore() {
		super.ejbStore();
		instanceExtension.ejbStore();
	}
	private ConcreteBeanInstanceExtension instanceExtension;
	private Tiici_logBeanCacheEntry_0aa0d06a dataCacheEntry;
	/**
	 * _WSCB_getInstanceInfo
	 */
	public PMConcreteBeanInstanceInfo _WSCB_getInstanceInfo() {
			return instanceExtension;
	}
	/**
	 * ConcreteTiici_log_0aa0d06a
	 */
	public ConcreteTiici_log_0aa0d06a() {
		super();
		instanceExtension = ConcreteBeanInstanceExtensionFactory.getInstance(this);
	}
	/**
	 * getInjector
	 */
	private com.grupobbva.iici.entity.websphere_deploy.Tiici_logBeanInjector_0aa0d06a getInjector() {
		return (com.grupobbva.iici.entity.websphere_deploy.Tiici_logBeanInjector_0aa0d06a)instanceExtension.getInjector();
	}
	/**
	 * hydrate
	 */
	public void hydrate(Object inRecord) {
		dataCacheEntry = (com.grupobbva.iici.entity.websphere_deploy.Tiici_logBeanCacheEntry_0aa0d06a) inRecord;;
		super.ejbLoad();
	}
	/**
	 * resetCMP
	 */
	public void resetCMP() {
			dataCacheEntry = null;
	}
	/**
	 * resetCMR
	 */
	public void resetCMR() {
	}
	/**
	 * ejbFindByPrimaryKey
	 */
	public com.grupobbva.iici.entity.Tiici_logKey ejbFindByPrimaryKey(com.grupobbva.iici.entity.Tiici_logKey primaryKey) throws javax.ejb.FinderException {
		return (com.grupobbva.iici.entity.Tiici_logKey)instanceExtension.ejbFindByPrimaryKey(primaryKey);
	}
	/**
	 * ejbFindByPrimaryKey
	 */
	public Object ejbFindByPrimaryKey(java.lang.Object pk) throws javax.ejb.FinderException {
		return ejbFindByPrimaryKey((com.grupobbva.iici.entity.Tiici_logKey)pk);
	}
	/**
	 * ejbFindByPrimaryKeyForCMR_Local
	 */
	public com.grupobbva.iici.entity.Tiici_logKey ejbFindByPrimaryKeyForCMR_Local(com.grupobbva.iici.entity.Tiici_logKey pk) throws javax.ejb.FinderException {
		return (com.grupobbva.iici.entity.Tiici_logKey)instanceExtension.ejbFindByPrimaryKey(pk);
	}
	/**
	 * ejbCreate
	 */
	public com.grupobbva.iici.entity.Tiici_logKey ejbCreate(java.math.BigDecimal cod_log) throws javax.ejb.CreateException {
		dataCacheEntry = (Tiici_logBeanCacheEntry_0aa0d06a) instanceExtension.createDataCacheEntry();
		 super.ejbCreate(cod_log);
		return (com.grupobbva.iici.entity.Tiici_logKey)instanceExtension.ejbCreate();
	}
	/**
	 * ejbPostCreate
	 */
	public void ejbPostCreate(java.math.BigDecimal cod_log) throws javax.ejb.CreateException {
		super.ejbPostCreate(cod_log);
		instanceExtension.ejbPostCreate();
	}
	/**
	 * createPrimaryKey
	 */
	public Object createPrimaryKey() {
		com.grupobbva.iici.entity.Tiici_logKey pk = new com.grupobbva.iici.entity.Tiici_logKey();
		pk.cod_log = getCod_log();
		return pk;
	}
	/**
	 * getNumberOfFields
	 */
	public int getNumberOfFields() {
		return 8;
	}
	/**
	 * getOCCColumn
	 */
	public long getOCCColumn() {
		return dataCacheEntry.getOCCColumn();
	}
	/**
	 * Get accessor for persistent attribute: cod_log
	 */
	public java.math.BigDecimal getCod_log() {
		return dataCacheEntry.getCod_log();
	}
	/**
	 * Set accessor for persistent attribute: cod_log
	 */
	public void setCod_log(java.math.BigDecimal newCod_log) {
		if (instanceExtension.needValuesOnMarkDirty())
			instanceExtension.markDirty(0,getCod_log(),newCod_log);
		else
			instanceExtension.markDirty(0);
		dataCacheEntry.setCod_log(newCod_log);
	}
	/**
	 * Get accessor for persistent attribute: num_oficina
	 */
	public java.lang.String getNum_oficina() {
		return dataCacheEntry.getNum_oficina();
	}
	/**
	 * Set accessor for persistent attribute: num_oficina
	 */
	public void setNum_oficina(java.lang.String newNum_oficina) {
		if (instanceExtension.needValuesOnMarkDirty())
			instanceExtension.markDirty(1,getNum_oficina(),newNum_oficina);
		else
			instanceExtension.markDirty(1);
		dataCacheEntry.setNum_oficina(newNum_oficina);
	}
	/**
	 * Get accessor for persistent attribute: des_oficina
	 */
	public java.lang.String getDes_oficina() {
		return dataCacheEntry.getDes_oficina();
	}
	/**
	 * Set accessor for persistent attribute: des_oficina
	 */
	public void setDes_oficina(java.lang.String newDes_oficina) {
		if (instanceExtension.needValuesOnMarkDirty())
			instanceExtension.markDirty(2,getDes_oficina(),newDes_oficina);
		else
			instanceExtension.markDirty(2);
		dataCacheEntry.setDes_oficina(newDes_oficina);
	}
	/**
	 * Get accessor for persistent attribute: num_registro
	 */
	public java.lang.String getNum_registro() {
		return dataCacheEntry.getNum_registro();
	}
	/**
	 * Set accessor for persistent attribute: num_registro
	 */
	public void setNum_registro(java.lang.String newNum_registro) {
		if (instanceExtension.needValuesOnMarkDirty())
			instanceExtension.markDirty(3,getNum_registro(),newNum_registro);
		else
			instanceExtension.markDirty(3);
		dataCacheEntry.setNum_registro(newNum_registro);
	}
	/**
	 * Get accessor for persistent attribute: nom_completo
	 */
	public java.lang.String getNom_completo() {
		return dataCacheEntry.getNom_completo();
	}
	/**
	 * Set accessor for persistent attribute: nom_completo
	 */
	public void setNom_completo(java.lang.String newNom_completo) {
		if (instanceExtension.needValuesOnMarkDirty())
			instanceExtension.markDirty(4,getNom_completo(),newNom_completo);
		else
			instanceExtension.markDirty(4);
		dataCacheEntry.setNom_completo(newNom_completo);
	}
	/**
	 * Get accessor for persistent attribute: fec_consulta
	 */
	public java.util.Date getFec_consulta() {
		return dataCacheEntry.getFec_consulta();
	}
	/**
	 * Set accessor for persistent attribute: fec_consulta
	 */
	public void setFec_consulta(java.util.Date newFec_consulta) {
		if (instanceExtension.needValuesOnMarkDirty())
			instanceExtension.markDirty(5,getFec_consulta(),newFec_consulta);
		else
			instanceExtension.markDirty(5);
		dataCacheEntry.setFec_consulta(newFec_consulta);
	}
	/**
	 * Get accessor for persistent attribute: tip_consulta
	 */
	public java.lang.String getTip_consulta() {
		return dataCacheEntry.getTip_consulta();
	}
	/**
	 * Set accessor for persistent attribute: tip_consulta
	 */
	public void setTip_consulta(java.lang.String newTip_consulta) {
		if (instanceExtension.needValuesOnMarkDirty())
			instanceExtension.markDirty(6,getTip_consulta(),newTip_consulta);
		else
			instanceExtension.markDirty(6);
		dataCacheEntry.setTip_consulta(newTip_consulta);
	}
	/**
	 * Get accessor for persistent attribute: canal
	 */
	public java.lang.String getCanal() {
		return dataCacheEntry.getCanal();
	}
	/**
	 * Set accessor for persistent attribute: canal
	 */
	public void setCanal(java.lang.String newCanal) {
		if (instanceExtension.needValuesOnMarkDirty())
			instanceExtension.markDirty(7,getCanal(),newCanal);
		else
			instanceExtension.markDirty(7);
		dataCacheEntry.setCanal(newCanal);
	}
}
